Skip to content

Refactor/ruby 33 bump - #365

Merged
luke-hill merged 5 commits into
mainfrom
refactor/ruby_33_bump
Jul 27, 2026
Merged

Refactor/ruby 33 bump#365
luke-hill merged 5 commits into
mainfrom
refactor/ruby_33_bump

Conversation

@luke-hill

Copy link
Copy Markdown
Contributor

🤔 What's changed?

Ruby 3.3 bump + regex handling

⚡️ What's your motivation?

🏷️ What kind of change is this?

  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, etc. without changing behaviour)
  • 💥 Breaking change (incompatible changes to the API)

♻️ Anything particular you want feedback on?

📋 Checklist:

  • I agree to respect and uphold the Cucumber Community Code of Conduct
  • I've changed the behaviour of the code
    • I have added/updated tests to cover my changes.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly.
  • Users should know about my change
    • I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

This text was originally generated from a template, then edited by hand. You can modify the template here.

rescue StandardError
nil
ensure
Regexp.timeout = previous_timeout

@mpkorstanje mpkorstanje Jul 23, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you have to do this. If this is because of the CodeQL warnings, feel free to dismiss them. The regex operates on CiEnvironment.json and environment variables. Both can be trusted in the context of the library.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bit is because of the bit above. But yes this was a combination of both.

I can remove it if you'd prefer, but given it's not inhibitive I'd rather just get it in.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nah. Don't include it. It's is unnecessary complexity.

@luke-hill
luke-hill merged commit ef912ef into main Jul 27, 2026
33 checks passed
@luke-hill
luke-hill deleted the refactor/ruby_33_bump branch July 27, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants